<template>
  <div>
    <div>
      <h4>运动功能评定</h4>
      <el-row type="flex" justify="space-between">
        <el-col>
          <span>Fugl-Meyer</span>
        </el-col>
        <el-col :span="5">
          <el-button type="primary">填写《Fugl-Meyer运动功能评分表》</el-button>
        </el-col>
        <el-col :span="3">
          <el-input v-model="pgForm.sport_input1" readonly></el-input><span> 分</span>
        </el-col>
        <el-col :span="12">
          <el-input v-model="pgForm.sport_input2" readonly></el-input>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>Brunnstorm分期</span>
        </el-col>
        <el-col>
            <el-button type="primary" @click="add">填写《Brunnstrom分期偏瘫功能表》</el-button>
        </el-col>
        <el-col>
            <span>上肢 </span><el-input v-model="pgForm.sport_input3" readonly></el-input>
        </el-col>
        <el-col>
            <span>手 </span><el-input v-model="pgForm.sport_input4" readonly></el-input>
        </el-col>
        <el-col>
            <span>下肢 </span><el-input v-model="pgForm.sport_input5" readonly></el-input>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "sport",
  title: "运动功能评定",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data(){
    return{
      pgForm: {
        sport_input1: '',
        sport_input2: '',
        sport_input3: '',
        sport_input4: '',
        sport_input5: '',
      }
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-input {
  width: 80%;
}
</style>


